﻿// MIT License
//
// Copyright (c) 2021-present zuohuaijun, Daming Co.,Ltd and Contributors
//
// 电话/微信：18020030720 QQ群1：87333204 QQ群2：252381476

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.Net.InformationPlatform.Entity.Product;
[SugarTable("SJADMIN.ORDER_CUSTOMER")]
public class OrderCustomer
{
    /// <summary>
    /// id
    /// </summary>
    [SugarColumn(ColumnName = "CID", IsPrimaryKey = true)]
    public int CID { get; set; }

    /// <summary>
    /// 订单编号
    /// </summary>
    [SugarColumn(ColumnName = "ORDER_ID")]
    public string ORDERID { get; set; } = string.Empty;

    /// <summary>
    /// 订单日期
    /// </summary>
    [SugarColumn(ColumnName = "ORDER_DATE")]
    public DateTime? ORDERDATE { get; set; }

    /// <summary>
    /// 业务人员
    /// </summary>
    [SugarColumn(ColumnName = "BUSINESS_PERSON")]
    public string BUSINESSPERSON { get; set; } = string.Empty;


    /// <summary>
    /// 业务人员名称
    /// </summary>
    [SugarColumn(ColumnName = "PERSON_NAME")]
    public string PERSONNAME { get; set; } = string.Empty;

    /// <summary>
    /// 业务部门
    /// </summary>
    [SugarColumn(ColumnName = "BUSINESS_UNIT")]
    public string BUSINESSUNIT { get; set; } = string.Empty;

    /// <summary>
    /// 客户编号
    /// </summary>
    [SugarColumn(ColumnName = "CUSTOMER_ID")]
    public string CUSTOMERID { get; set; } = string.Empty;

    /// <summary>
    /// 客户简称
    /// </summary>
    [SugarColumn(ColumnName = "CUSTOMER_NAME")]
    public string CUSTOMERNAME { get; set; } = string.Empty;

    /// <summary>
    /// 客户订购单号
    /// </summary>
    [SugarColumn(ColumnName = "CUSTOMER_ORDER_ID")]
    public string CUSTOMERORDERID { get; set; } = string.Empty;

    /// <summary>
    /// 订单性质
    /// </summary>
    [SugarColumn(ColumnName = "ORDER_PROPERTIES")]
    public string ORDERPROPERTIES { get; set; } = string.Empty;

    /// <summary>
    /// 订单类别
    /// </summary>
    [SugarColumn(ColumnName = "ORDER_TYPE")]
    public string ORDERTYPE { get; set; } = string.Empty;

    /// <summary>
    /// 审核状态 //0未审核 1已审核 
    /// </summary>
    [SugarColumn(ColumnName = "AUDIT_STATUS")]
    public int AUDITSTATUS { get; set; }


    /// <summary>
    /// 收款条件
    /// </summary>
    [SugarColumn(ColumnName = "COLLECTION_CONDITION")]
    public string COLLECTIONCONDITION { get; set; } = string.Empty;

    /// <summary>
    /// 币种
    /// </summary>
    [SugarColumn(ColumnName = "CURRENCY")]
    public string CURRENCY { get; set; } = string.Empty;


    /// <summary>
    /// 取价方式
    /// </summary>
    [SugarColumn(ColumnName = "ACQUISITION_WAY")]
    public string ACQUISITIONWAY { get; set; } = string.Empty;


    /// <summary>
    /// 订单备注
    /// </summary>
    [SugarColumn(ColumnName = "ORDER_REMARK")]
    public string ORDERREMARK { get; set; } = string.Empty;

    /// <summary>
    /// 项目附件
    /// </summary>
    [SugarColumn(ColumnName = "ANNEX")]
    public string ANNEX { get; set; } = string.Empty;

    /// <summary>
    /// 创建日期
    /// </summary>
    [SugarColumn(ColumnName = "CERATE_TIME")]
    public DateTime? CERATETIME { get; set; } 

}
